package com.village.friend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.village.friend.entity.User;
import com.village.friend.entity.UserLook;

import java.util.List;

/**
 * <p>
 * 查看用户的记录 服务类
 * </p>
 *
 * @author yl
 * @since 2021-11-13
 */
public interface UserLookService extends IService<UserLook> {
    Integer insertOrUpdate(Integer userId, Integer userIdLooked);

    List<User> getLookList(Integer userId, Integer offset, Integer limit);

    Integer getLookCount(Integer userId);

    UserLook getLookUserToDay(Integer userId, Integer userIdLooked);
}
